export const columns = [
    {
        title: '交易时间',
        dataIndex: 'createTime',
        key: 'createTime',
        align: 'center',
        width: '180px'
    },
    {
        title: '交易金额',
        dataIndex: 'amount',
        key: 'amount',
        align: 'center',
    },
    {
        title: '交易后余额',
        dataIndex: 'afterBalance',
        key: 'afterBalance',
        align: 'center',
    },
    {
        title: '操作类型',
        dataIndex: 'directionType',
        key: 'directionType',
        align: 'center',
        scopedSlots: { customRender: 'directionType' },
    },
    {
        title: '交易前余额',
        dataIndex: 'beforeBalance',
        key: 'beforeBalance',
        align: 'center',
    },
    {
        title: '交易前冻结余额',
        dataIndex: 'beforeFreezeBalance',
        key: 'beforeFreezeBalance',
        align: 'center',
    },
    {
        title: '交易后冻结余额',
        dataIndex: 'afterFreezeBalance',
        key: 'afterFreezeBalance',
        align: 'center',
    },
    {
        title: '描述',
        dataIndex: 'description',
        key: 'description',
        align: 'center',
    },
]